<template>
  <div class="backGround">
    <div class="article-page">
      <!-- <nav class="my-nav van-hairline--bottom">
      <a  @click="check='weight_desc'" :class="{ active: check === 'weight_desc'}"
        href="javascript:;"
        >推荐</a
      >
      <a  @click="check=null" :class='{ active : check === null }'
        href="javascript:;"
        >最新</a
      >
      <div class="logo"><img src="@/assets/logo.png" alt=""></div>
    </nav> -->
      <van-nav-bar fixed title="校园动态" />
      <div class="title-padding"></div>
      <article-item :check="check" select="article"></article-item>
      <div class="bottomBox"></div>
    </div>
  </div>
</template>

<script>
/* eslint-disable */
export default {
  name: "infomation-page",
  data() {
    return {
      check: "weight_desc",
    };
  },
  methods: {},
};
</script>

<style lang="less" scoped>
.backGround {
  background: #f5f5f5;
  height: 100vh;
}
.article-page {
  background-color: #f5f5f5;
  padding: 0 10px;
  margin-bottom: 50px;
  margin-top: 44px;
  .title-padding {
    padding-top: 1vh;
  }
  .my-nav {
    height: 44px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    display: flex;
    align-items: center;
    > a {
      color: #999;
      font-size: 14px;
      line-height: 44px;
      margin-left: 20px;
      position: relative;
      transition: all 0.3s;
      &::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 0;
        height: 2px;
        background: #222;
        transition: all 0.3s;
      }
      &.active {
        color: #222;
        &::after {
          width: 14px;
        }
      }
    }
    .logo {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      > img {
        width: 64px;
        height: 28px;
        display: block;
        margin-right: 10px;
      }
    }
  }
}
.bottomBox {
  padding-bottom: 7vh;
}
</style>
